package com.CMS.client;

import java.util.List;

import com.CMS.server.domain.Privilege;
import com.google.gwt.user.client.rpc.AsyncCallback;

public interface PrivilegeServiceAsync {

	void fetch(AsyncCallback<List<Privilege>> callback);
	
	void create(String description, Long idType, Long idPath, AsyncCallback<Void> callback);
	
	void remove(Long id, AsyncCallback<Void> callback);
	
	void update(String description, boolean flagDelete,Long id, String idType, String idPath, AsyncCallback<Void> callback);
}
